/*
    住院部数据逻辑
*/
var hospitalization = {
    data: [{
        name: '门诊入院申请',
        x: 0,
        y: 100,
        symbol:'roundRect',
        category: 6,
    }, {
        name: '入院登记',
        x: 200,
        y: 100,
        symbol:'roundRect',
        category: 1,
    }, {
        name: '登记召回',
        x: 200,
        y: 200,
        symbol:'roundRect',
        category: 1,
    }, {
        name: '出院登记',
        x: 200,
        y: 300,
        symbol:'roundRect',
        category: 1,
    }, {
        name: '住院结算',
        x: 200,
        y: 400,
        symbol:'roundRect',
        category: 1,
    }, {
        name: '结算召回',
        x: 200,
        y: 500,
        symbol:'roundRect',
        category: 1,
    }, {
        name: '无费退院',
        x: 200, 
        y: 600,
        symbol:'roundRect',
        category: 1,
    },],
    links: [
        {
            source: '门诊入院申请',
            target: '入院登记',
            lineStyle: {
                normal: {
                    width: 2,
                    type: 'solid',
                    curveness: 0
                }
            },
        }, {
            source: '入院登记',
            target: '无费退院',
            lineStyle: {
                normal: {
                    width: 2,
                    curveness: 0.3
                }
            }
        }, {
            source: '出院登记',
            target: '登记召回',
            lineStyle: {
                normal: {
                    width: 2,
                    curveness: 0
                }
            }
        }, {
            source: '登记召回',
            target: '出院登记',
            lineStyle: {
                normal: {
                    width: 2,
                    curveness: 0
                }
            }
        }, {
            source: '出院登记',
            target: '住院结算',
            lineStyle: {
                normal: {
                    width: 2,
                    curveness: 0
                }
            }
        }, {
            source: '住院结算',
            target: '结算召回',
            lineStyle: {
                normal: {
                    width: 2,
                    curveness: 0
                }
            }
        }, {
            source: '结算召回',
            target: '无费退院',
            lineStyle: {
                normal: {
                    width: 2,
                    curveness: 0
                }
            }
        }, 
    ],
}

var hospitalizationHandle = {
    '入院登记': [
        {
            operation: '患者入院直接登记',
            href: '../../assets/document/住院/入院登记/患者入院直接登记.html',
            step: [
                {index: "2-"+1, text: '打开入院登记',},
                {index: "2-"+2, text: '生成住院登记信息',},
                {index: "2-"+3, text: '完善入院登记信息',}
            ],
            functionality: [
            ],
            doubt: [
            ],
        }, {
            operation: '通过门诊入院申请登记',
            href: '../../assets/document/住院/入院登记/通过门诊入院申请登记.html',
            step: [
                {index: "2-"+1, text: '打开入院登记',},
                {index: "2-"+2, text: '获取入院登记信息',},
                {index: "2-"+3, text: '完善入院登记信息',}
            ],
            functionality: [
            ],
            doubt: [
            ],
        },
    ],
    '门诊入院申请': [
        {
            operation: '门诊入院申请',
            href: '../../assets/document/门诊/医生工作站/门诊入院申请.html',
            step: [
                {index: "2-"+1, text: '打开医生工作站',},
                {index: "2-"+2, text: '根据病历号获取患者信息',},
                {index: "2-"+3, text: '操作入院申请单',}
            ],
            functionality: [
            ],
            doubt: [
            ],
        }
    ]
}